package com.yj.lottery_system.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class UserPasswordLoginParam extends UserLoginParam{
    //用户电话号码或者使用邮箱
    @NotBlank(message = "用户电话号码或者邮箱不能为空")
    private String loginName;
    //用户密码
    @NotBlank(message = "密码不能为空")
    private String password;
}
